import { Layout } from '@fl/utils/routerHelper'

const categoryManagement: AppRouteRecordRaw = {
    children: [
        {
            component: () => import('@/operations-pages/category-management/list/index.vue'),
            meta: {
                title: '类目配置列表',
            },
            name: 'list',
            path: 'list',
        },
        {
            component: () => import('@/operations-pages/category-management/list/configuration.vue'),
            meta: {
                activeMenu: '/operations-pages/category-management/list',
                hidden: true,
                noTagsView: true,
                title: '类目配置',
            },
            name: 'configuration',
            path: 'configuration',
        },
    ],
    component: Layout,
    meta: {
        alwaysShow: true,
        title: '类目管理',
    },
    name: 'category-management',
    path: 'category-management',
}

export default categoryManagement
